/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package beans;

import javax.ejb.Local;

/**
 *
 * @author pwitek
 */
@Local
public interface EventBeanLocal {
    String getEvents(double lat_lo, double lng_lo, double lat_hi, double lng_hi, int year, int day);

    void insertEvent(double lat, double lng, int year, int day);

    void updateEvent(Long id, String title, String description, String type, Double lat, Double lng, Integer year, Integer day);

    void deleteEvent(long id);
}
